home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000039_news@columbia.edu_Tue Apr 4 16:55:48 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA00593
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 4 Apr 1995 16:44:47 -0400
Received: by apakabar.cc.columbia.edu id AA10062
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 4 Apr 1995 16:44:44 -0400
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!panix!news.mathworks.com!news.ultranet.com!news.sprintlink.net!cs.utexas.edu!utnut!nott!cunews!boris!rmallett
From: rmallett@boris.ccs.carleton.ca (Rick Mallett)
Subject: Re: How to disable C-Kermit CLI
X-Nntp-Posting-Host: boris.carleton.ca
Message-Id: <D6IsD0.5M3@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University
X-Newsreader: TIN [version 1.2 PL0]
References: <D67t0M.A49@cunews.carleton.ca> <3lh21v$mni@apakabar.cc.columbia.edu>
Date: Tue, 4 Apr 1995 16:55:48 GMT
Lines: 44
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
> In article <D67t0M.A49@cunews.carleton.ca>,
> Rick Mallett <rmallett@boris.carleton.ca> wrote:
> : I'm using kermit for file upload/download in conjunction with a Unix
> : restricted shell text-based menu interface that should prevent all
> : direct access to Unix shell commands. Files are uploaded/downloaded by
> : way of expect scripts where the invokation is as follows:
> : ...
> : This seems to work OK except that I found the other day that users can
> : escape to the kermit prompt by typing several CTRL-C's during the upload
> : operation.
> : ...
[portion deleted]
> : Is there another compilation flag that will give me the result I want.
> :
> Try -DNOPUSH. This should prevent any type of shell access from the
> C-Kermit prompt. Or try -DNOCTRLC. This should make Ctrl-C (SIGINT)
> exit the program rather than returning to the prompt.
I tried using both -DNOCTRLC and -DNOPUSH but that didn't work. I had already
eliminated shell access by other means but I still need to stop users from
getting to a c-kermit prompt and browsing the system at that point. Here is
the make line I issued (after a make clean of course).
make sunos41gcc "KFLAGS=-DNOCTRLC -DNOPUSH"
I was still able to type CTRL-C and reach the C-kermit prompt after
issuing a line similar to the following:
kermit -C 'pcget file, quit'
Any other suggestions would be appreciated.
----------------------------------------------------------------------
Rick Mallett
Carleton University
Email address: rmallett@ccs.carleton.ca
----------------------------------------------------------------------